package com.impc.controller;

import com.impc.model.Site;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class IndexContrller {
//    @RequestMapping(value = "/",method = RequestMethod.GET )
//    public ModelAndView index(Model model){
//    Site site=new Site();
//    site.setTitle("测试");
//    model.addAttribute("site",site);
//    return new ModelAndView("index");
//}
}
